//
//  CardData.h
//  SCRAP_ObjC
//
//  Created by Capstone Design Fall 2010 on 10/22/10.
//  Copyright 2010 Thunderwear. All rights reserved.
//

#import "Card.h"
#import "FPoint.h"

@interface CardData : NSObject {
	
	NSMutableArray * reserve;
	NSMutableArray * stock;
	NSMutableArray * waste;
	NSMutableArray * cascades;	// 4-length array of arrays of cards, left to right

	Card * current;
	NSMutableArray * allCards;	// for easy deallocation, not stored in any particularly helpful order
}

- (id) initGameWithSize:(CGSize) size;
- (BOOL) tapInWaste:(CGPoint) point;

@property (retain) NSMutableArray * reserve;
@property (retain) NSMutableArray * stock;
@property (retain) NSMutableArray * waste;
@property (retain) NSMutableArray * cascades;	// 4-length array of arrays of cards, left to right

@property (retain) Card * current;
@property (retain) NSMutableArray * allCards;	// for easy deallocation, not stored in any particularly helpful order

@property CGPoint reservePoint;
@property CGPoint stockPoint;
@property (retain) NSMutableArray * wastePoints;	// location on screen
@property (retain) NSMutableArray * cascadePoints;
@property float cardHeight, cardWidth;

@end
